from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.

GENDER_SELECTION = [
    ('M', 'Male'),
    ('F', 'Female'),
    ('NS', 'Not Specified'),
]


class CustomUser(AbstractUser):
    gender = models.CharField(blank=True, null=True,
                              max_length=20, choices=GENDER_SELECTION)
    phone_number = models.CharField(blank=True, null=True, max_length=30)

    def __str__(self):
        return self.username
